
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import { myRequest } from '@/pages/utils/api.js'
import { roleUrl } from '@/pages/utils/api.js'
import { imageUrls } from '@/pages/utils/imageUrl.js'
import { downloadApi } from '@/pages/utils/downloadApi.js'

import share from '@/pages/utils/share.js'
Vue.prototype.$EventBus = new Vue()

Vue.config.productionTip = false
Vue.prototype.$myRequest = myRequest
Vue.prototype.$roleUrl = roleUrl
Vue.prototype.$imageUrls = imageUrls
Vue.prototype.$downloadApi = downloadApi

Vue.mixin(share)
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
  
}
// #endif